/**
 * @description 数据服务参数的基本类型
 * @type {{INFOTABLE: string, NUMBER: string, QUERY: string, STRING: string, JSON: string, BOOLEAN: string}}
 */
export const BASE_TYPE = {
  STRING: 'STRING',
  NUMBER: 'NUMBER',
  BOOLEAN: 'BOOLEAN',
  INFO_TABLE: 'INFOTABLE',
  JSON: 'JSON',
  QUERY: 'QUERY',
}

export const JS_TYPE = {
  STRING: 'String',
  OBJECT: 'Object',
  ARRAY: 'Array',
  FUNC: 'Function',
  BOOLEAN: 'Boolean',
  NUMBER: 'Number',
}
export const TABLE_EDIT_TYPE = {
  DIALOG: 'dialog',
  ROW: 'row',
}
export const PAGE_MODE = {
  DESIGN: 'design',
  HISTORY: 'history',
}

export enum PROVIDE_KEY {
  CLONE_SERVICE_VERSION_VOS = 'CLONE_SERVICE_VERSION_VOS',
  /*  GET_LATEST_SERVICE_VERSION_VOS = 'getLatestServiceVersionVOs',
    GET_FORM_SERVICE_VERSION_VOS = 'getFormServiceVersionVOs'*/
}

export const SERVICE_OPERATION = {
  UPDATE: 'UPDATE_SERVICE',
  DELETE: 'DELETE_SERVICE',
} as const

export const EVENT_BUS_KEY = {
  CLEAR_ALL_COMPONENT_FROM_TREE: 'clearAllComponentFromTree',
} as const

export const MODEL_TYPE = {
  INPUT_MODEL: 'inputModel',
  OUTPUT_MODEL: 'outputModel',
} as const
